package com.yang.service.impl;

import com.yang.mapper.GdpMapper;
import com.yang.service.GdpService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @program: gdp-epidemic
 * @description: 地区城市GDP情况
 * @author: 杨洲
 * @create: 2021-09-29 22:20
 **/

@Service
public class GdpServiceImpl implements GdpService {

    @Autowired
    private GdpMapper gdpMapper;

    @Override
    public String[] queryAllName() {
        String[] strings = gdpMapper.queryAllName();
        return strings;
    }

    @Override
    public int[] queryGdp2018() {
        int[] ints = gdpMapper.queryGdp2018();
        return ints;
    }
}
